package com.demo.modules.user.po;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Transient;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@Entity
public class UsersPO {
    @Id
    private Long id;
    @Column(unique = true)
    private String account;
    private String name;
    private String password;
    private String email;
    private int status;
    private Date createTime;
    private Date createBy;
    private String roles;
    @Transient
    private List<String> roleList;
}
